package edu.zut.bailan.score.service.impl;

import edu.zut.bailan.base.service.impl.GenericTreeManagerImpl;
import edu.zut.bailan.score.dao.ScoreCategoryDao;
import edu.zut.bailan.score.domain.ScoreCategory;
import edu.zut.bailan.score.service.ScoreCategoryManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "scoreCategoryManager")
public class ScoreCategoryManagerImpl extends GenericTreeManagerImpl<ScoreCategory, Long>
        implements ScoreCategoryManager {

    ScoreCategoryDao scoreCategoryDao;

    @Autowired
    public void setProductCategoryDao(ScoreCategoryDao scoreCategoryDao) {
        this.scoreCategoryDao = scoreCategoryDao;
        this.dao = this.scoreCategoryDao;
    }
}
